// The certificate is stored in PMEM
static const uint8_t x509[] PROGMEM = {
  0x30, 0x82, 0x01, 0x57, 0x30, 0x82, 0x01, 0x01, 0x02, 0x14, 0x2f, 0x0d,
  0x49, 0x27, 0x83, 0xac, 0xab, 0x57, 0xc5, 0x9a, 0x11, 0x7d, 0x62, 0x62,
  0xd8, 0xff, 0xd1, 0x73, 0x03, 0x10, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86,
  0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, 0x2d, 0x31,
  0x17, 0x30, 0x15, 0x06, 0x03, 0x55, 0x04, 0x0a, 0x0c, 0x0e, 0x79, 0x6f,
  0x75, 0x72, 0x2d, 0x6e, 0x61, 0x6d, 0x65, 0x2d, 0x68, 0x65, 0x72, 0x65,
  0x31, 0x12, 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x09, 0x31,
  0x32, 0x37, 0x2e, 0x30, 0x2e, 0x30, 0x2e, 0x31, 0x30, 0x1e, 0x17, 0x0d,
  0x32, 0x33, 0x30, 0x33, 0x30, 0x35, 0x30, 0x39, 0x34, 0x30, 0x33, 0x39,
  0x5a, 0x17, 0x0d, 0x33, 0x36, 0x31, 0x31, 0x31, 0x31, 0x30, 0x39, 0x34,
  0x30, 0x33, 0x39, 0x5a, 0x30, 0x2d, 0x31, 0x17, 0x30, 0x15, 0x06, 0x03,
  0x55, 0x04, 0x0a, 0x0c, 0x0e, 0x79, 0x6f, 0x75, 0x72, 0x2d, 0x6e, 0x61,
  0x6d, 0x65, 0x2d, 0x68, 0x65, 0x72, 0x65, 0x31, 0x12, 0x30, 0x10, 0x06,
  0x03, 0x55, 0x04, 0x03, 0x0c, 0x09, 0x31, 0x32, 0x37, 0x2e, 0x30, 0x2e,
  0x30, 0x2e, 0x31, 0x30, 0x5c, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48,
  0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x4b, 0x00, 0x30,
  0x48, 0x02, 0x41, 0x00, 0xed, 0xad, 0xf5, 0xe7, 0xf3, 0x05, 0xe0, 0x79,
  0x13, 0xdf, 0x05, 0x14, 0x6b, 0x83, 0xe4, 0x6d, 0xdd, 0x7f, 0xc2, 0x4c,
  0xdf, 0x25, 0xf2, 0x3a, 0xb9, 0x64, 0x78, 0x22, 0x80, 0x96, 0x6f, 0xce,
  0x37, 0x4d, 0x47, 0xde, 0x21, 0x9d, 0xfa, 0xc2, 0x6e, 0x6c, 0x46, 0xf2,
  0x95, 0xec, 0x7c, 0xd5, 0x9e, 0xc3, 0xbd, 0x9b, 0x6c, 0x31, 0xa9, 0xcf,
  0xb6, 0xfe, 0xda, 0x30, 0x4d, 0x69, 0x87, 0x19, 0x02, 0x03, 0x01, 0x00,
  0x01, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01,
  0x01, 0x0b, 0x05, 0x00, 0x03, 0x41, 0x00, 0x6b, 0x54, 0x95, 0xfa, 0xfb,
  0x01, 0xb4, 0x29, 0x66, 0x9b, 0x01, 0xe4, 0x31, 0x0e, 0x57, 0x6e, 0x69,
  0x37, 0xd4, 0xe7, 0xe3, 0xff, 0xb1, 0xbd, 0x85, 0x48, 0x5b, 0x96, 0x66,
  0x30, 0x2a, 0xd9, 0xd5, 0x96, 0xf0, 0x2b, 0x6a, 0x3a, 0x3e, 0xd0, 0xea,
  0x56, 0x44, 0x61, 0x0d, 0xbf, 0xac, 0xe4, 0x50, 0xc9, 0x00, 0xfa, 0x67,
  0x67, 0x8c, 0x12, 0xf1, 0x7d, 0x4b, 0x25, 0xea, 0x99, 0x0e, 0x48
};

// And so is the key.  These could also be in DRAM
static const uint8_t rsakey[] PROGMEM = {
  0x30, 0x82, 0x01, 0x3b, 0x02, 0x01, 0x00, 0x02, 0x41, 0x00, 0xed, 0xad,
  0xf5, 0xe7, 0xf3, 0x05, 0xe0, 0x79, 0x13, 0xdf, 0x05, 0x14, 0x6b, 0x83,
  0xe4, 0x6d, 0xdd, 0x7f, 0xc2, 0x4c, 0xdf, 0x25, 0xf2, 0x3a, 0xb9, 0x64,
  0x78, 0x22, 0x80, 0x96, 0x6f, 0xce, 0x37, 0x4d, 0x47, 0xde, 0x21, 0x9d,
  0xfa, 0xc2, 0x6e, 0x6c, 0x46, 0xf2, 0x95, 0xec, 0x7c, 0xd5, 0x9e, 0xc3,
  0xbd, 0x9b, 0x6c, 0x31, 0xa9, 0xcf, 0xb6, 0xfe, 0xda, 0x30, 0x4d, 0x69,
  0x87, 0x19, 0x02, 0x03, 0x01, 0x00, 0x01, 0x02, 0x41, 0x00, 0xdd, 0xe3,
  0x9d, 0x01, 0xf8, 0xf8, 0x90, 0x92, 0x98, 0x81, 0x89, 0x5d, 0x81, 0xee,
  0x34, 0xd0, 0x78, 0x8b, 0xf0, 0x5a, 0x11, 0xad, 0x7c, 0x51, 0x64, 0x88,
  0xae, 0x3b, 0x0f, 0xae, 0xe2, 0x1a, 0x67, 0x26, 0x4d, 0x8d, 0x58, 0x63,
  0xb7, 0x85, 0x21, 0x08, 0x89, 0x17, 0x76, 0xff, 0x8a, 0x40, 0xe5, 0x48,
  0x5b, 0x53, 0x25, 0x43, 0x38, 0x24, 0x36, 0xf7, 0x09, 0xe5, 0xdc, 0x71,
  0x8d, 0x31, 0x02, 0x21, 0x00, 0xf6, 0xce, 0xb5, 0xcb, 0xb2, 0x13, 0x2a,
  0x33, 0x1f, 0x7e, 0x6b, 0x44, 0x3d, 0xcd, 0xf6, 0xf6, 0x9f, 0xbc, 0x52,
  0x0e, 0xbc, 0x15, 0x8d, 0x30, 0x54, 0x9f, 0x95, 0xf1, 0x73, 0x0f, 0x15,
  0x0d, 0x02, 0x21, 0x00, 0xf6, 0x88, 0x37, 0x62, 0xc4, 0x8f, 0x63, 0x6b,
  0xab, 0x60, 0x24, 0xdc, 0xb5, 0x67, 0xbe, 0xad, 0x7e, 0xc8, 0x7c, 0xd8,
  0x45, 0xc1, 0x4d, 0x14, 0xf2, 0x48, 0x08, 0x4f, 0xd8, 0xfc, 0xcf, 0x3d,
  0x02, 0x21, 0x00, 0xa4, 0x4e, 0xad, 0x3c, 0xb4, 0x8a, 0x89, 0xb7, 0x8b,
  0x29, 0xf0, 0x63, 0x77, 0xf9, 0xdc, 0x86, 0x07, 0x85, 0xa9, 0xe3, 0x61,
  0x57, 0xbf, 0xad, 0x03, 0x49, 0x52, 0xdb, 0x71, 0x4c, 0x03, 0x29, 0x02,
  0x20, 0x68, 0x3d, 0xba, 0xa5, 0x91, 0x95, 0x4b, 0xa5, 0x98, 0x26, 0x24,
  0x10, 0x0a, 0xc8, 0x5e, 0x30, 0xbf, 0xfe, 0x08, 0x03, 0xee, 0xa2, 0xc8,
  0x74, 0x05, 0xe9, 0xfd, 0x51, 0xbd, 0xdf, 0x4f, 0xc5, 0x02, 0x20, 0x78,
  0x40, 0x5d, 0x23, 0x93, 0x9d, 0x9c, 0xc2, 0x39, 0xea, 0x3c, 0x73, 0x9b,
  0xab, 0x34, 0x25, 0x4f, 0x9a, 0xc3, 0xad, 0x6b, 0x12, 0x5f, 0x28, 0xa5,
  0xf1, 0x58, 0x39, 0x94, 0x46, 0x17, 0x60
};

void lwfprint(){
  Serial.println("Liweifu");
}

String lwfhtml(){
  String htmlstr = "<!DOCTYPE html>\n";
  htmlstr += "<html>\n";
  htmlstr += " <head>\n";
  htmlstr += "  <meta charset='utf-8'>\n";
  htmlstr += "  <title>点火</title>\n";
  htmlstr += "  <script src='https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js'>\n";
  htmlstr += "  </script>\n";
  htmlstr += "  <script>\n";
  htmlstr += "   $(document).ready(function(){\n";
  htmlstr += "    $('#GPIO_2_0').click(function(){\n";
  htmlstr += "     $.get('/gpio2/0');\n";
  htmlstr += "    });\n";
  htmlstr += "    $('#GPIO_2_1').click(function(){\n";
  htmlstr += "     $.get('/gpio2/1');\n";
  htmlstr += "    });\n";
  htmlstr += "   });\n";
  htmlstr += "  </script>\n";
  htmlstr += " </head>\n";
  htmlstr += " <body>\n";
  htmlstr += "  <h1 style='height: 50px;margin:10px;'>点火</h1>\n";
  htmlstr += "  <button style='height: 50px;margin:10px;' id='GPIO_2_0'><h1>GPIO_2_0</h1></button><br />\n";
  htmlstr += "  <button style='height: 50px;margin:10px;' id='GPIO_2_1'><h1>GPIO_2_1</h1></button><br />\n";
  htmlstr += " </body>\n";
  htmlstr += "</html>\n";
  return htmlstr;
}
